﻿// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");

// 组合1：iPhone + iOS
var iphone = new IPhone(new IOS());
iphone.PowerOn();

// 组合2：华为 + HarmonyOS
var huawei = new HuaweiPhone(new HarmonyOS());
huawei.PowerOn();

// 组合3：iPhone + Android（理论上）
var fakeIphone = new IPhone(new Android());
fakeIphone.PowerOn();